import request from '@/utils/request'

//展示所有用户
export const AllUserManagerInfoService = (params)=>{
    return request.get('/userManage',{params:params});
}

//新增
export const addUserManagerService = (UserData)=>{
    return request.post('/userManage',UserData);
}


//修改
export const UpdateUserManagerService = (UserData)=>{
    return request.put('/userManage',UserData);
}

//删除
export const deleteUserManagerService = (id)=>{
    return request.delete('/userManage?id='+id);
}